#include <stdio.h>
#include "animal-base.h"

int main (void) {  
	AnimalBase *P0 = NULL;
	AnimalBase *P1 = NULL;
	AnimalBase *P2 = NULL;
    //g_type_init (); //now is auto init 
    P0 = g_object_new (ANIMAL_BASE_TYPE, NULL);  
    P1 = g_object_new (ANIMAL_BASE_TYPE, NULL);  
	P2 = g_object_new (ANIMAL_BASE_TYPE, NULL);
	
	printf("start send signal.\n");
    send_base_drink_signal(P0);
    send_base_drink_signal(P1);
    send_base_drink_signal(P2);
	printf("end send signal.\n");
	
	g_object_unref(P0);
	g_object_unref(P1);
	g_object_unref(P2);
    return 0;  
}  
 
    
